package com.example.jobback.mapper;

import com.example.jobback.common.enums.VerifyCompanyRegisterStatus;
import com.example.jobback.po.VerifyCompanyRecord;
import org.apache.ibatis.annotations.Mapper;

/**
 * @InterfaceName: VerifyCompanyRecordMapper
 * @Description: 审核公司注册记录mapper
 * @Author: lhb
 * @Date: 2025/5/29
 */
@Mapper
public interface VerifyCompanyRecordMapper {

    int addRecord(String phoneAes, VerifyCompanyRegisterStatus verifyCompanyRegisterStatus);

    VerifyCompanyRecord getRecordByPhoneAes(String phoneAes);

    int updateRecord(String phoneAes, VerifyCompanyRegisterStatus verifyCompanyRegisterStatus,String failedMessage);

    int deleteRecordByPhoneAes(String phoneAes);

    int registerFailed(String phoneAes, VerifyCompanyRegisterStatus verifyCompanyRegisterStatus, String message);
}
